package com.happysmile.tcpconfig.mybatis.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Table(name = "tcpconfig")
public class Tcpconfig {
    /*
     * tcpconfig表主键
     * */
    @ApiModelProperty(value = "tcpconfig表主键",required = false)
    @Id
    @Column
    private Integer id;

    /*
    * tcpconfig表外键,config表主键
    * */
    @ApiModelProperty(value = "tcpconfig表外键,config表主键",required = false)
    @Column
    private Integer cid;

    /*
    *配置命令中拼接的字段
    * */
    @ApiModelProperty(value = "配置命令中拼接的字段",required = false)
    @Column
    private String params;

    /*
    *配置命令中的后缀
    * */
    @ApiModelProperty(value = "配置命令中的后缀",required = false)
    @Column
    private String suffix;
}
